# name: Odoo Method Compute
# key: odoo_method_compute
# --
@api.one
@api.depends('$1', ...)
def _compute_field(self):
    self.field = $2
